package cn.iocoder.yudao.module.book.controller.admin.book.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 书籍新增/修改 Request VO")
@Data
public class BookSaveReqVO {

    @Schema(description = "书籍表ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "书籍名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "书籍名称不能为空")
    private String bookName;

    @Schema(description = "绘本集ID")
    private Long bookShelfId;

    @Schema(description = "封面图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "封面图片不能为空")
    private String cover;

}